import { createRouter, createWebHashHistory } from 'vue-router';
// 引入路由

const router = createRouter({
    history: createWebHashHistory(),
    routes: [{
        path: '/',
        component: () => import('@/module/home/index.vue')
    }, {
        path: '/storage/:id',
        component: () => import('@/module/storage/page/edit.vue')
    }, {
        path: '/browser/:id',
        component: () => import('@/module/browser/page/index.vue')
    }, {
        path: '/setting',
        component: () => import('@/module/setting/page/index.vue')
    }, {
        path: '/recommend',
        component: () => import('@/module/recommend/index.vue')
    }, {
        path: '/about',
        component: () => import('@/module/about/index.vue')
    }]
});

export default router;